<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>CRM登录</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
		<link rel="stylesheet" href="/static/css/bootstrap.css" type="text/css" />
		<link rel="stylesheet" href="/static/css/animate.css" type="text/css" />
		<link rel="stylesheet" href="/static/css/app.css" type="text/css" />
		<link rel="stylesheet" href="/static/css/sweetalert.min.css" type="text/css" />
		<link rel="stylesheet" href="/static/css/my_css.css" type="text/css" />
	</head>

	<body>
		<section id="content" class="m-t-llg wrapper-md animated fadeInUp">
			<div class="container aside-xl">
				<h2 class="navbar-brand block">广州蓝景技术有限公司CRM系统</h2>
				<section class="m-b-lg">
					<header class="wrapper text-center">
						<strong>欢迎您!</strong>
					</header>
					<form class="confirm_login" method="post">
						<div class="list-group">
							<div class="list-group-item">
								<input type="text" name="username" placeholder="用户名" class="form-control no-border username">
							</div>
							<div class="list-group-item">
								<input type="password" name="password" placeholder="密码" class="form-control no-border password">
							</div>
							<div class="list-group-item captcha">
								<input type="text" name="captcha" placeholder="验证码" class="form-control no-border password">
							</div>
							<div class="captcha_img"><img src="{:captcha_src()}" alt="点击更换" onclick="this.src='/captcha?id='+Math.random()" /></div>
						</div>
						<button type="submit" class="btn btn-lg btn-primary btn-block login">登 录</button>
					</form>
				</section>
			</div>
		</section>
		<footer id="footer">
			<div class="text-center padder">
				<p>
					<small><a href="https://www.bluej.cn/">bluej.cn</a> 版权所有 粤ICP备15032290号-3<br>&copy; 2016 - 2022</small>
				</p>
			</div>
		</footer>

		<script src="/static/js/jquery-2.1.0.js"></script>
		<script src="/static/js/common/common.js"></script>
		<script src="/static/js/common/crm_helper.js"></script>
		<script src="/static/js/sweetalert.min.js" type="text/javascript" charset="utf-8"></script>
		<script>
			$(".confirm_login").on("submit", function(e) {
				e.preventDefault();
				ajax_login("{:url('login/login/confirm_login')}", "{:url('home/index/index')}");
			})
		</script>

	</body>

</html>